

<div class="category_box">
    <h3 class="cate_head">商品分类</h3>
    <nav id="mysidebarmenu" class="amazonmenu">
	<ul>
	{% for v in nav %}
	<li><a href="http://www.baidu.com">{{v.name}}</a>
		<div>
			<p>{{v.description}}</p>
		  <ul>
          {% for vv in v.sub %}
		  <li><a target="_blank" href="{% url 'mylist' v.id %}">{{vv.name}}</a>
				<div>
					{% for vvv in vv.goods_set.all %}
					<p><h3><a href="{% url 'mylist' v.id %}">{{ vvv.goodsname }} <img src="{{ vvv.pic_url }}" alt="" width="30" height="30"></a></h3>

					</p>
				    {% endfor %}
				</div>
		  </li>
	      {% endfor %}
		  </ul>
		</div>
	</li>
	{% endfor %}

	</ul>
</nav>
</div>

<script>
jQuery(function(){
	amazonmenu.init({
		menuid: 'mysidebarmenu'
	})
})
</script>
<script src="/static/js/amazonmenu.js"></script>
<link rel="stylesheet" type="text/css" href="/static/css/amazonmenu.css">